package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 查询模板参数请求类
 * @date 2020-03-18 21:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询模板参数请求类", description = "查询指定模板参数列表")
public class QueryTemplateParamsReq extends BaseReqObj {

    private static final long serialVersionUID = 4787823781150150656L;

    @ApiModelProperty(value = "模板 id", notes = "模板 id", dataType = "Integer", required = true)
    @NotNull(message = "模板 id 不能为空")
    private Integer templateId;

}
